import Chat from "../src/pages/Chat/index.vue";
import ChatPre from "../src/pages/ChatPre/index.vue";
import ChatSetting from "../src/pages/ChatSetting/index.vue";
import ComfyUI from "../src/pages/webview/comfyUI/index.vue";
export const chatRouter = [
  {
    path: "/webview",
    name: "webview",
    children: [
      {
        path: "/webview/comfyUI",
        name: "ComfyUI",
        component: ComfyUI,
      },
    ],
  },
  {
    path: "/Chat",
    name: "Chat",
    component: Chat,
  },
  {
    path: "/ChatPre",
    name: "ChatPre",
    component: ChatPre,
  },
  {
    path: "/ChatSetting",
    name: "ChatSetting",
    component: ChatSetting,
  },
  {
    path: "/",
    redirect: "/Chat",
  },
];
